﻿<UserControl x:Class="DLL_Downloader.Interface"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="600" Loaded="UserControl_Loaded">
    <UserControl.Resources>
        <Thickness x:Key="Margin">0,0,0,4</Thickness>
    </UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Label Grid.Row="0" Height="28" HorizontalAlignment="Center" Name="label1" VerticalAlignment="Top" Margin="{StaticResource Margin}">This addin lets you download clean DLLs from The Professor's Frontend Server.</Label>
        <ListBox Grid.Row="1" Name="filesList" HorizontalAlignment="Center" VerticalAlignment="Stretch" Width="Auto" Margin="{StaticResource Margin}"/>
        <Button Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Top" Content="Select All" Margin="{StaticResource Margin}" Click="SelectAll" />
        <Button Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Top" Content="Select None" Margin="{StaticResource Margin}" Click="SelectNone" />
        <Button Grid.Row="4" HorizontalAlignment="Center" VerticalAlignment="Top" Content="Download" Margin="{StaticResource Margin}" Click="Download" />
    </Grid>
</UserControl>
